//
//  Music.swift
//  MyEcho
//
//  Created by longlong on 16/1/25.
//  Copyright © 2016年 LongLong. All rights reserved.
//


class Music: NSObject {
    var channel_id:NSString = "";
    var channel:NSDictionary!;
    
    var commend_time:NSString = "";
    var comment_count:NSString = "";
    var ID:NSString = "";
    var is_hot:NSString = "";
    var length:NSString = "";
    var like_count:NSString = "";
    var name:NSString = "";
    var pic:NSString = "";
    var pic_100:NSString = "";
    var pic_1080:NSString = "";
    var pic_200:NSString = "";
    var pic_500:NSString = "";
    var pic_640:NSString = "";
    var pic_750:NSString = "";
    var share_count:NSString = "";
    var source:NSString = "";
    var status_mask:NSString = "";
    var info:NSString = "";//音乐简介

    var user:NSDictionary!;
    var user_id:NSString = "";
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        if (key=="id") {
            self.ID = value as! NSString;
        }

    }
}

/*
channel
{
    id = 43;
    name = "\U4e3a\U4f60\U8bfb\U8bd7";
    pic = "http://kibey-echo.b0.upaiyun.com/poster/2015/11/30/8zlvpqbc0dqvg2r2.jpg";
    "user_id" = 2;
};


user 
{
avatar = "http://tp3.sinaimg.cn/5607257930/180/5731651096/1";
"avatar_100" = "http://tp3.sinaimg.cn/5607257930/180/5731651096/1";
"avatar_50" = "http://tp3.sinaimg.cn/5607257930/180/5731651096/1";
"famous_status" = 0;
"famous_type" = "<null>";
"followed_count" = 18759;
id = 6659194;
name = "\U738b\U9752ZG";
"pay_class" = 0;
"pay_status" = 0;
photo = "http://tp3.sinaimg.cn/5607257930/180/5731651096/1";
status = 1;
};
*/